<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CICD演示项目</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            color: #333;
            background-color: #f4f4f4;
        }
        .container {
            width: 80%;
            margin: 0 auto;
            padding: 2rem;
        }
        header {
            background: #35424a;
            color: white;
            padding: 1rem 0;
            text-align: center;
        }
        .content {
            background: white;
            margin: 2rem 0;
            padding: 2rem;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        footer {
            text-align: center;
            padding: 1rem;
            background: #35424a;
            color: white;
        }
        .info-box {
            background-color: #e7f3fe;
            border-left: 4px solid #2196F3;
            padding: 1rem;
            margin: 1rem 0;
        }
    </style>
</head>
<body>
    <header>
        <h1>CICD演示项目</h1>
    </header>
    
    <div class="container">
        <div class="content">
            <h2 th:text="${message}">欢迎信息</h2>
            
            <div class="info-box">
                <p>这是一个用于演示CICD流程的Spring Boot Web应用。</p>
                <p>当前服务器时间: <span th:text="${#temporals.format(serverTime, 'yyyy-MM-dd HH:mm:ss')}">2023-01-01 00:00:00</span></p>
            </div>
            
            <h3>CICD流程说明</h3>
            <ol>
                <li>开发人员提交代码到Gitee代码仓库</li>
                <li>Jenkins检测到代码变更，触发构建流程</li>
                <li>Jenkins拉取最新代码</li>
                <li>Maven构建项目，打包成WAR文件</li>
                <li>Jenkins将WAR文件部署到测试服务器</li>
                <li>应用程序在测试服务器上运行</li>
            </ol>
        </div>
    </div>
    
    <footer>
        <p>&copy; 2023 CICD演示项目 | 版本 1.0.0</p>
    </footer>
</body>
</html>